<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller']            = "member/index/index";
$route['reject-request']                = 'member/index/rejectrequest';
$route['cron-active']                   = "default/index/cronactive";
$route['cron-complate']                 = "default/index/croncomplate";

$route['index']                          =   'member/index/index';
$route['place']                          =   'member/index/place';


$route['notification']                  =   'member/notification/index';
$route['notification/trang-(:num)']     =   'member/notification/index';

$route['read-notification']             =   'member/notification/rnotification';

$route['user/login']                    =   'member/user/login';
$route['logout']                        =   'member/user/logout';
$route['setting']                       =   'member/user/update';
$route['setting-password']              =   'member/user/updatepassword';

$route['manage-adv']                    =   'member/statics/index';
$route['manage-adv/trang-(:num)']       =   'member/statics/index';

$route['gettimeaccess']                 =   'member/statics/gettimeaccess';
$route['report-place']                  =   'member/statics/detail';
$route['detail-campaign/trang-(:num)']  =   'member/statics/detail';
$route['export-report-place']           =   'member/statics/exportreportplace';


$route['export-report-place-run']       =   'member/statics/exportreportplacerun';

$route['export-report-email']           =   'member/statics/exportreportemail';
$route['export-report-email-run']       =   'member/statics/exportreportemailrun';

$route['export-report-facebook']           =   'member/statics/exportreportfacebook';
$route['export-report-facebook-run']       =   'member/statics/exportreportfacebookrun';

$route['export-report-mobile']           =   'member/statics/exportreportmobile';
$route['export-report-mobile-run']       =   'member/statics/exportreportmobilerun';

$route['page_ajax_detail']               =   'member/statics/page_ajax_detail';
$route['page_ajax_detail/trang-(:num)']  =   'member/statics/page_ajax_detail';

$route['statics-browser']               =   'member/statics/browser';
$route['statics-device']                =   'member/statics/device';
$route['statics-os']                    =   'member/statics/os';
$route['statics-place']                 =   'member/statics/place';

$route['email']                         =   'member/other/emailsave';


$route['account']                       =   'member/user/account';
$route['account/trang-(:num)']          =   'member/user/account';
$route['add-account']                   =   'member/user/addaccount';
$route['edit-accounting']               =   'member/user/editaccount';
$route['delete-accounting']             =   'member/user/deleteaccount';
$route['get-agency-ajax']               =   'member/user/getagencyajax';
$route['get-place-ajax']               =   'member/user/getplaceajax';

$route['campaign-user']                 = 'member/campaignuser/index';
$route['campaign-user/trang-(:num)']    = 'member/campaignuser/index'; 
$route['add-campaign-user']             = 'member/campaignuser/addcampaignuser';
$route['edit-campaign-user/(:num)']     = 'member/campaignuser/editcampaignuser';
$route['delete-campaign-user/(:num)']   = 'member/campaignuser/deletecampaignuser';
$route['campaign-user-detail/(:num)']   = 'member/campaignuser/campaignuserdetail';

$route['report-user']                   = 'member/campaignuser/report';
$route['place-user']                    = 'member/campaignuser/placeuser'; 
$route['statistic-user']                = 'member/campaignuser/statistic';
$route['user-export-report-place']      = 'member/campaignuser/userexportreportplace';
$route['user-gettimeaccess']            = 'member/campaignuser/gettimeaccess';
$route['user-export-report-email']      = 'member/campaignuser/exportreportemail';
$route['user-export-report-facebook']   = 'member/campaignuser/exportreportfacebook';
$route['user-export-report-mobile']     = 'member/campaignuser/exportreportmobile';
$route['history-trade'] = 'member/campaignuser/historytrade';
//place-user



$route['campaign-agency/cho-duyet'] = 'member/campaignagency/pendding';
$route['campaign-agency/gui-duyet'] = 'member/campaignagency/send';
$route['campaign-agency/dang-chay'] = 'member/campaignagency/running';
$route['campaign-agency/khac'] = 'member/campaignagency/other';
$route['campaign-agency/khac/trang-(:num)'] = 'member/campaignagency/other';
$route['campaign-agency/dia-diem'] = 'member/campaignagency/place';
$route['view-campaign-user'] = 'member/campaignagency/viewcampaignagency';

$route['campaign/tat-ca'] = 'member/campaign/all';
$route['campaign/tat-ca/trang-(:num)'] = 'member/campaign/all';
$route['campaign/cho-duyet'] = 'member/campaign/pendding';
$route['campaign/cho-duyet/trang-(:num)'] = 'member/campaign/pendding';
$route['campaign/dang-chay'] = 'member/campaign/running';
$route['campaign/dang-chay/trang-(:num)'] = 'member/campaign/running';
$route['campaign/dang-tam-dung'] = 'member/campaign/stop';
$route['campaign/dang-tam-dung/trang-(:num)'] = 'member/campaign/stop';
$route['campaign/da-huy'] = 'member/campaign/cancel';
$route['campaign/da-huy/trang-(:num)'] = 'member/campaign/cancel';
$route['view-campaign-agency'] = 'member/campaign/viewcampaignagency';
$route['view-campaign'] = 'member/campaign/viewcampaign';
$route['campaign/dia-diem'] = 'member/campaign/place';
$route['campaign/dia-diem/trang-(:num)'] = 'member/campaign/place';
$route['campaign/them-dia-diem'] = 'member/campaign/addplace';
$route['campaign/sua-dia-diem/(:num)'] = 'member/campaign/editplace';
$route['campaign/modem'] = 'member/campaign/modem';
$route['campaign/modem/trang-(:num)'] = 'member/campaign/modem';
$route['campaign/them-modem'] = 'member/campaign/addmodem';
$route['campaign/sua-modem/(:num)'] = 'member/campaign/editmodem';

$route['campaign-agency/cho-duyet']               = 'member/campaignagency/pendding';
$route['campaign-agency/cho-duyet/trang-(:num)']  = 'member/campaignagency/pendding';
$route['campaign-agency/gui-duyet']               = 'member/campaignagency/send';
$route['campaign-agency/gui-duyet/trang-(:num)']  = 'member/campaignagency/send';
$route['campaign-agency/dang-chay']               = 'member/campaignagency/running';
$route['campaign-agency/dang-chay/trang-(:num)']  = 'member/campaignagency/running';
$route['campaign-agency/dia-diem']                = 'member/campaignagency/place';
$route['campaign-agency/dia-diem/trang-(:num)']   = 'member/campaignagency/place';
$route['view-campaign-user']                      = 'member/campaignagency/viewcampaignagency';

$route['report-agency']                             = 'member/campaignagency/report';
$route['place-agency']                              = 'member/campaignagency/placeagency'; 
$route['statistic-agency']                          = 'member/campaignagency/statistic';
$route['agency-export-report-place']                = 'member/campaignagency/exportreportplace';
$route['agency-gettimeaccess']                      = 'member/campaignagency/gettimeaccess';
$route['agency-export-report-email']                = 'member/campaignagency/exportreportemail';
$route['agency-export-report-facebook']             = 'member/campaignagency/exportreportfacebook';
$route['agency-export-report-mobile']               = 'member/campaignagency/exportreportmobile';

/* agency-place */
$route['report-agency-place']                       = 'member/campaignagencyplace/report';
$route['place-agency-place']                        = 'member/campaignagencyplace/placeagencyplace'; 

/* ajax */
$route['lock-campaign']             = 'member/campaignagency/ajaxlockcampaign';
$route['cancel-campaign']             = 'member/campaignagency/ajaxcancelcampaign';
$route['send-approval-campaign']             = 'member/campaignagency/ajaxsendapprovalcampaign';
$route['restore-campaign']             = 'member/campaignagency/ajaxrestorecampaign';

$route['campaign/cho-duyet']               = 'member/campaign/pendding';
$route['campaign/dang-chay']               = 'member/campaign/running';
$route['view-campaign-agency']             = 'member/campaign/viewcampaignagency';

$route['ajax-get-campaign-report'] = 'member/index/ajaxgetcampaignreport';
$route['ajax-get-campaign-report-agency'] = 'member/campaignagency/ajaxgetcampaignreport';
$route['ajax-get-campaign-report-user'] = 'member/campaignuser/ajaxgetcampaignreport';
$route['ajax-get-campaign-report-agency-place'] = 'member/campaignagencyplace/ajaxgetcampaignreport';

$route['reporting-system'] = 'member/index/popupreporting';
$route['reporting-agency'] = 'member/campaignagency/popupreporting';
$route['reporting-user'] = 'member/campaignuser/popupreporting';
$route['reporting-agency-place'] = 'member/campaignagencyplace/popupreporting';

$route['ajax-get-cost-shop'] = 'member/campaignuser/ajaxgetcostshop';

$route['ajax-reporting-system'] = 'member/index/ajaxpopupreporting';
$route['ajax-reporting-agency'] = 'member/campaignagency/ajaxpopupreporting';
$route['ajax-reporting-user'] = 'member/campaignuser/ajaxpopupreporting';
$route['ajax-get-customers'] = 'member/index/ajaxgetcustomers';

$route['classify-device'] = 'member/classify/listclassify';
$route['classify-device/trang-(:num)'] = 'member/classify/listclassify';
$route['add-classify'] = 'member/classify/addclassify';
$route['edit-classify/(:num)'] = 'member/classify/editclassify';
$route['delete-classify/(:num)'] = 'member/classify/deleteclassify';

//get modem
$route['get-modem'] = 'member/index/getmodem';
/* End of file routes.php */
/* Location: ./application/config/routes.php */